//
//  CommonFile.swift
//  BQWB
//
//  Created by laibingqiang on 16/10/25.
//  Copyright © 2016年 laibingqiang. All rights reserved.
//

import UIKit


let BQAPPKEY = "3312518011"
let BQAPPSECRET = "837483724f4fb6a5106e46ff58daef22"

let BQREDIRECTURI = "http://www.baidu.com"

//微博账号和密码

let BQNAME = "18701121019"

let BQPASSWORD = "l123456"

// 屏幕的宽度和高度
let BQSCREENW = UIScreen.main.bounds.width
let BQSCREENH = UIScreen.main.bounds.height
// 山寨微博的主题颜色
let BQTHEMECOLOR = UIColor.orange
// 常用字体大小
let BQBigFontSize: CGFloat = 18
let BQNormalFontSize: CGFloat = 14
let BQSmallFontSize: CGFloat = 10

// 随机颜色
func BQRandomColor() -> UIColor{
    let r = CGFloat(arc4random()%256)
    let g = CGFloat(arc4random()%256)
    let b = CGFloat(arc4random()%256)
    return UIColor(red: r/255, green: g/255, blue: b/255, alpha: 1)
}
